package com.fz.song.feibao.web.entity.vo.admin.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel(value = "新增用户信息请求实体类")
@Data
public class AdminReqVO {


    @NotNull(message = "id不能为空")
    @ApiModelProperty(value = "id")
    private int id;

    @NotBlank(message = "用户名不能为空")
    @ApiModelProperty(value = "用户名")
    private String userName;

    @NotBlank(message = "地址不能为空")
    @ApiModelProperty(value = "地址")
    private String address;
}
